<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity5">

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>发改局</title>

  <!-- Google Font: Source Sans Pro -->
  <link rel="stylesheet"
        href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
  <!-- IonIcons -->
  <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
  <link rel="stylesheet" href="../../plugins/fontawesome-free/css/all.css">
  <link rel="stylesheet" href="../../dist/css/adminlte.css">
</head>

<body class="hold-transition sidebar-mini">
<div class="wrapper">

  <!-- 主内容容器 -->
  <div class="content-wrapper">
    <!-- 容器头标题 -->
    <div class="content-header">
      <div class="container-fluid">

        <div class="row mb-2">
          <div class="col-sm-6">
            <h1 class="m-0">项目要件详情</h1>
          </div>
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="#">首页</a></li>
              <li class="breadcrumb-item active">项目要件详情</li>
            </ol>
          </div>
        </div>

      </div>

    </div>

    <!-- 主题内容正文 -->
    <div class="content">
      <div class="container-fluid">
        <div class="row">
          <div class="col-lg-12">

            <div class="card card-primary">
              <!-- 卡片头部 -->
              <div class="card-header">
                <h3 class="card-title">项目要件详情</h3>
              </div>

              <!-- 表单开始 -->
              <form>
                <div class="card-body">
                  <div class="row">
                    <div class="col-lg-6">

                      <div class="form-group">
                        <label>企业名称</label>
                        <input type="text" class="form-control" id="enName" th:value="${data.en_name}" readonly/>
                      </div>


                      <div class="form-group">
                        <label>项目名称</label>
                        <input class="form-control" id="projectName" name="projectBaseInfoId" th:value="${data.project_name}" readonly/>
                      </div>

<!--                      <div class="form-group">-->
<!--                        <label for="exampleInputEmail1">产品名称</label>-->
<!--                        <input type="text" class="form-control" id="exampleInputEmail2" name="" value="精镁砂" placeholder="产品名称">-->
<!--                      </div>-->

                      <div class="form-group">
                        <label for="approvalTimeNumber">审批核准备案时间及文号</label>
                        <input type="text" class="form-control" id="approvalTimeNumber" name="approvalTimeNumber" th:value="${data.approvalTimeNumber}" placeholder="审批核准备案时间" readonly/>
                      </div>

                      <div class="form-group">
                        <label for="policyStandardsInfo">产品政策及行业标准符合情况</label>
                        <input type="text" class="form-control" id="policyStandardsInfo" name="policyStandardsInfo" th:value="${data.policyStandardsInfo}" placeholder="产品政策及行业标准符合情况" readonly/>
                      </div>

                      <div class="form-group">
                        <label for="energySavingApprovalTimeNumber">节能审查批复时间及文号</label>
                        <input type="text" class="form-control" id="energySavingApprovalTimeNumber" name="energySavingApprovalTimeNumber" th:value="${data.energySavingApprovalTimeNumber}"
                               placeholder="节能审查批复时间及文号" readonly/>
                      </div>

                      <div class="form-group">
                        <label for="environmentalApprovalTimeNumber">环评审批时间及文号</label>
                        <input type="text" class="form-control" id="environmentalApprovalTimeNumber" name="environmentalApprovalTimeNumber" th:value="${data.environmentalApprovalTimeNumber}"
                               placeholder="环评审批时间及文号" readonly/>
                      </div>

                      <div class="form-group">
                        <label for="environmentalReview">环评复核情况</label>
                        <textarea  class="form-control" id="environmentalReview" name="environmentalReview" th:text="${data.environmentalReview}"
                                   placeholder="环评复核情况" readonly></textarea>
                      </div>

                    </div>
                    <div class="col-lg-6">



                      <div class="form-group">
                        <label for="approvalOfConstructionPermit">施工许可审批时间及文号</label>
                        <input type="text" class="form-control" id="approvalOfConstructionPermit" name="approvalOfConstructionPermit" th:value="${data.approvalOfConstructionPermit}"
                               placeholder="施工许可审批时间及文号" readonly/>
                      </div>

                      <div class="form-group">
                        <label for="capacityAcquisitionSituation">产能取得情况</label>
                        <textarea rows="10" class="form-control" id="capacityAcquisitionSituation" name="capacityAcquisitionSituation" th:text="${data.capacityAcquisitionSituation}"
                                  placeholder="产能取得情况" readonly></textarea>
                      </div>

                      <div class="form-check">
                        <input type="checkbox" class="form-check-input" id="businessLicenseInfo" name="businessLicenseInfo" th:checked="${data.businessLicenseInfo == '有'? true:false}">
                        <label class="form-check-label" for="businessLicenseInfo">营业执照情况(有/无)</label>
                      </div>

                      <div class="form-check">
                        <input type="checkbox" class="form-check-input" id="isFeasibilityResearchReport" name="isFeasibilityResearchReport" th:checked="${data.isFeasibilityResearchReport == '有'? true:false}">
                        <label class="form-check-label" for="isFeasibilityResearchReport">是否有《可行性研究报告》(有/无)</label>
                      </div>

                      <div class="form-check">
                        <input type="checkbox" class="form-check-input" id="isFeasibilityReviewComments" name="isFeasibilityReviewComments" th:checked="${data.isFeasibilityReviewComments == '有'? true:false}">
                        <label class="form-check-label" for="isFeasibilityReviewComments">是否有《可行性评审意见》(有/无)</label>
                      </div>

                      <div class="form-check">
                        <input type="checkbox" class="form-check-input" id="isEnergyConservationReport" name="isEnergyConservationReport" th:checked="${data.isEnergyConservationReport == '有'? true:false}">
                        <label class="form-check-label" for="isEnergyConservationReport">是否有《节能报告》(有/无)</label>
                      </div>

                      <div class="form-group" th:if="${#httpSession.getAttribute('role_id') == 1}">
                        <label>企业关联用户</label>
                        <input type="text" class="form-control" id="userId" th:value="${user.username}" name="enUserId" readonly/>
                      </div>


                    </div>
                  </div>
                </div>

                <!-- 添加按钮 -->
                <div class="card-footer">
                  <button type="button" class="btn btn-primary" id="pre_btn">返回上一页</button>
                </div>

              </form>

            </div>

          </div>

        </div>

      </div>

    </div>

  </div>


  <!-- Control Sidebar -->
  <aside class="control-sidebar control-sidebar-dark">
  </aside>

  <!-- 版权信息 -->
  <footer class="main-footer">
    <strong>Copyright &copy; 2021 <a href="http://www.chengzhouyun.com/" target="_blank">ChengZhouYun</a>.</strong> All
    rights reserved.
    <div class="float-right d-none d-sm-inline-block">
      <b>Version</b> 1.0
    </div>
  </footer>

</div>


<script src="../../plugins/jquery/jquery.js"></script>
<!-- Bootstrap -->
<script src="../../plugins/bootstrap/js/bootstrap.bundle.js"></script>
<!-- AdminLTE -->
<script src="../../dist/js/adminlte.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="../../dist/js/demo.js"></script>


</body>
<script th:inline="javascript">

$(function(){

  $("#pre_btn").on("click",function () {
    window.history.back();
  })
})


</script>
</html>
